//如果PI_FLAG不为空，并且AI_FRESH_FLAG 等于Y,则修改PI_FLAG为1;
var result_FS_PI = JSON.parse('{"CODE":0, "ACTION":"","LEVEL":"", "MSG":"","DATA":"","RULE":"FS_PI"}');
if (!isNull(AI_FRESH_FLAG) && AI_FRESH_FLAG === 'Y') {
    result_FS_PI.CODE = 3;
    result_FS_PI.ACTION = "UPDATE";
    result_FS_PI.MSG = "修改PI_FLAG为1";
    result_FS_PI.DATA = '{"PI_FLAG":"1"}';
}
JSON.stringify(result_FS_PI);
